module.exports = {
  serviceWorker: true,
  title: 'Jerry VuePress 博客搭建笔记',
  description: 'Jerry的博客',
  home: true,
  heroImage: "/hero.png",
  actionText: "快速上手 ",
  actionLink: "/zh/guide/",
  features: {

  },
  head: [
    ['link', { rel: 'icon', href: '/img/logo.ico' }],
    ['link', { rel: 'manifest', href: '/manifest.json' }],
  ],
  themeConfig: {
    displayAllHeaders: true, // 默认值：false
    //头部菜单
    nav: [
      { text: '主页', link: '/' },
      {
        text: '分类',
        items: [
          { text: 'Web', link: '/web/' },
          // { text: 'C#', link: '/C#/' },
          { text: 'Golang', link: '/golang/' },
          { text: 'DataBase', link: '/database/' },
          // { text: 'Html', link: '/Html/' },
          // { text: 'Vue', link: '/Vue/' },
          // { text: 'Nginx', link: '/Nginx/' },
          // { text: 'DataBase', link: '/DataBase/' },
          // { text: 'Bat', link: '/web/' },
          // { text: 'Redis', link: '/web/' },n

          // { text: 'Java', link: '/web/' },
          // { text: 'Javascript', link: '/web/' },
          // { text: '微信小程序', link: '/WeChat/' },
          // { text: 'Pythen', link: '/pythen/' },
          // { text: 'Android', link: '/android/' },
          // { text: 'ios', link: '/ios/' },
        ]
      },
      {
        text: '系统',
        items: [
          { text: 'Windwos', link: '/windwos/' },
          { text: 'Ubuntu', link: '/ubuntu/' },
          { text: 'Centos', link: '/centos/' },
        ]
      },
      { text: '关于', link: '/about/' },
      { text: 'Github', link: 'https://www.github.com/codeteenager' },
    ],
    sidebar: {
      '/web/': [
        ['', 'javascript'],
        {
          title: 'javascript',
          children: [
            ['/web/javascript/A000', 'javascript 基本用法'],
            ['/web/javascript/A001', 'VuePress'],
            // ['/web/javascript/A002', '#A002_VuePress_2']
          ]
        }, 
        // {
        //   title: 'html',
        //   children: [
        //     ['/web/html/A000', '#Web1000'],
        //     ['/web/html/A001', '#A001_VuePress_1'],
        //     ['/web/html/A002', '#A002_VuePress_2']
        //   ]
        // },
        // {
        //   title: 'vue',
        //   children: [
        //     ['/web/vue/Digested', '#Digested'],
        //     ['/web/vue/Digesting', '#Digesting'],
        //     ['/web/vue/DigestWill', '#DigestWill']
        //   ]
        // }

      ],
      '/golang/': [
        ['', 'golang'],
        {
          title: 'Golang',
          children: [
            ['/golang/解决 VS Code 中 golang.org 被墙导致的 Go 插件安装失败问题', ''],
            ['/golang/Chapter_2', '#A001_VuePress_1'] 
          ]
        } 
      ],
      '/database/': [
        ['', 'mysql'],
        {
          title: 'MySql',
          children: [
            ['/database/mysql/MySql 学习知识', 'Mysql基础学习知识'],
            // ['/database/mysql/A001', '#A001_VuePress_1'],
            // ['/database/mysql/A002', '#A002_VuePress_2']
          ]
        },
        // {
        //   title: 'Redis',
        //   children: [
        //     ['/database/Redis/Digested', '#Digested'],
        //     ['/database/Redis/Digesting', '#Digesting'],
        //     ['/database/Redis/DigestWill', '#DigestWill']
        //   ]
        // }
      ],


    }, //sidebar: 'auto',//自动生成侧边栏
    // sidebar: [//自动生成侧边栏组
    //   {
    //     title: 'Group 1',
    //     collapsable: false,
    //     children: [

    //     ]
    //   },
    //   {  
    //     title: 'Group 2',
    //     children: [  ]
    //   }, 
    // ],
    search: true,
    searchMaxSuggestions: 10,
    sidebarDepth: 2,
    lastUpdated: 'Last Updated',
  },
}